on update current timestamp laravel migration

81

mysql timestamp in laravel migration -

$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));

Comments

Submit
0 Comments